/**
 * 分页查询失物招领列表
 *
 * @param data
 * @returns {*}
 */
function pageList(data) {
    return requests({
        url: '/admin/sysLostFound/pageList',
        method: 'post',
        data: data
    })
}

/**
 * 查询失物招领详细
 * @param id
 * @returns {*}
 */
function detail(id) {
    return requests({
        url: '/admin/sysLostFound/query/' + id,
        method: 'get'
    })
}

/**
 * 新增失物招领
 *
 * @param data
 * @returns {*}
 */
function add(data) {
    return requests({
        url: '/admin/sysLostFound/add',
        method: 'post',
        data: data
    })
}

/**
 * 修改失物招领
 *
 * @param data
 * @returns {*}
 */
function update(data) {
    return requests({
        url: '/admin/sysLostFound/update',
        method: 'post',
        data: data
    })
}

/**
 *  删除失物招领
 * @param id
 * @returns {*}
 */
function del(id) {
    return requests({
        url: '/admin/sysLostFound/delete/' + id,
        method: 'delete'
    })
}

/**
 * 导出失物招领
 *
 * @param query
 * @returns {*}
 */
function exportData(data) {
    return requests({
        url: '/admin/sysLostFound/export',
        method: 'post',
        data: data
    })
}
